how to create and use slice in javascript methods

visit shbcf.ru